package org.wlgzs.shop.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.wlgzs.shop.bean.GoodsData;
import org.wlgzs.shop.bean.GoodsDataExample;

public interface GoodsDataMapper {
    long countByExample(GoodsDataExample example);

    int deleteByExample(GoodsDataExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GoodsData record);

    int insertSelective(GoodsData record);

    List<GoodsData> selectByExampleWithBLOBs(GoodsDataExample example);

    List<GoodsData> selectByExample(GoodsDataExample example);

    GoodsData selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GoodsData record, @Param("example") GoodsDataExample example);

    int updateByExampleWithBLOBs(@Param("record") GoodsData record, @Param("example") GoodsDataExample example);

    int updateByExample(@Param("record") GoodsData record, @Param("example") GoodsDataExample example);

    int updateByPrimaryKeySelective(GoodsData record);

    int updateByPrimaryKeyWithBLOBs(GoodsData record);

    int updateByPrimaryKey(GoodsData record);

    List<GoodsData> allGoods(String date);

    List<GoodsData> selectGoods2(String date);

}